﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Eurodancelux.Website
{
    public partial class contacts : System.Web.UI.Page
    {
        /*private const string LanguageSessionKey = "CurrentLanguage";

        protected override void InitializeCulture()
        {
            base.InitializeCulture();
            if (Session[LanguageSessionKey] != null)
            {
                // Задаем текущий регион для страницы.
                Page.UICulture = Session[LanguageSessionKey].ToString();
                Page.Culture = Session[LanguageSessionKey].ToString();
            }
        }*/

        protected void Page_Load(object sender, EventArgs e)
        {
            
            localTest.Text =
                "Culture: " +
                Culture +
                "<br />" +
                "Date: " +
                DateTime.Now.ToLongDateString() +
                "<br />" +
                Request.UserLanguages +
                "<br />" +
                System.Threading.Thread.CurrentThread.CurrentUICulture +
                "<br />" +
                System.Threading.Thread.CurrentThread.CurrentUICulture.Parent;
        }

        protected void Unnamed1_Click(object sender, EventArgs e)
        {
            test.Text = Request.RawUrl;
        }
    }
}